export const countdown =()=>{

}
export const timeCount =(date)=>{
  let timeParse = new Date(date).getTime();
  let nowParse = new Date().getTime();
  //距离时间（用于判断是否可以签到，迟到，签到倒计时）
  let leaveTime = timeParse - nowParse;
  let halfhour = 0.5 * 60 * 60 * 10e2;
  if(leaveTime>halfhour){
    return "1"
  }
  else{
    return "2"
  
  }
 
}